#include "Position.h"


Position::~Position()
{

}


Position::Position(const Position& pos)
{
	xPosition = pos.getX();
	yPosition = pos.getY();
	zPosition = pos.getZ();
	dir = pos.getDir();
}


Position& Position::operator=(const Position& pos)
{
	if (this != &pos)
	{
		this->setX(pos.getX());
		this->setY(pos.getY());
		this->setZ(pos.getZ());
		this->setDir(pos.getDir());
	}
	return *this;
}